--------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Userdata\Shared\Dofiles\DoAnalysis\PGS and politics\Replication files\MainRe
> sults.log
  log type:  text
 opened on:   9 Jan 2025, 12:26:49

. 
. clear all

. 
. use "E:\ProjData\PGS and politics/STRdata.dta", clear

. *use "E:\ProjData\PGS and politics/WLSdata.dta", clear
. *use "E:\ProjData\PGS and politics/MTFSdata.dta"
. *use "E:\ProjData\PGS and politics/AHdata.dta"
. append using "E:\ProjData\PGS and politics/WLSdata.dta"
(note: variable PairID was float, now double to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/MTFSdata.dta"
(note: variable Byear was float, now double to accommodate using data's values)
(note: variable MALE was float, now double to accommodate using data's values)
(note: variable sample was str3, now str4 to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/AHdata.dta"
(note: variable SchoolID was float, now double to accommodate using data's values)
(note: variable Ideology was float, now double to accommodate using data's values)
(note: variable Contact was float, now double to accommodate using data's values)

. 
. gen samplenum = .
(65,783 missing values generated)

. replace samplenum = 1 if sample=="STR"
(43,669 real changes made)

. replace samplenum = 2 if sample=="wls"
(8,937 real changes made)

. replace samplenum = 3 if sample=="mtfs"
(7,525 real changes made)

. replace samplenum = 4 if sample=="ah"
(5,652 real changes made)

. 
. replace Byear = Byear+1900 if sample=="mtfs"
(7,523 real changes made)

. 
. rename EduYears EA

. 
. ********
. *MODELS*
. ********
. 
. **************************
. ***Sum stats - Table A3***
. **************************
. preserve

. drop if PC1==.
(0 observations deleted)

. bysort sample: sum Turnout1 Turnout2 TurnoutSelf PolPart MALE Byear

--------------------------------------------------------------------------------------------
-> sample = STR

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     39,166    .9335797    .2032404          0          1
    Turnout2 |     39,459    .6247497     .429864          0          1
 TurnoutSelf |          0
     PolPart |      9,598    .0898451    .1951003          0          1
        MALE |     43,669    .4570519    .4981578          0          1
-------------+---------------------------------------------------------
       Byear |     43,669    1970.876    23.66049       1911       2005

--------------------------------------------------------------------------------------------
-> sample = ah

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |          0
    Turnout2 |          0
 TurnoutSelf |      5,633    .4358246    .3857737          0          1
     PolPart |      4,791    .0293606    .1221122          0          1
        MALE |      5,652    .3890658    .4875814          0          1
-------------+---------------------------------------------------------
       Byear |      5,652    1978.995    1.770592       1974       1996

--------------------------------------------------------------------------------------------
-> sample = mtfs

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |      6,331    .9153872     .193957          0          1
    Turnout2 |      6,358    .7154526    .3346672          0          1
 TurnoutSelf |      2,333    .7419631    .3228745          0          1
     PolPart |          0
        MALE |      7,525     .470299    .4991502          0          1
-------------+---------------------------------------------------------
       Byear |      7,523    1969.078    15.95425       1926       1994

--------------------------------------------------------------------------------------------
-> sample = wls

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |      8,534    .8617296    .2996816          0          1
    Turnout2 |      8,534    .8096438    .3437027          0          1
 TurnoutSelf |          0
     PolPart |          0
        MALE |      8,937    .4795793    .4996108          0          1
-------------+---------------------------------------------------------
       Byear |      8,937    1939.542     4.30959       1918       1964


. restore

. 
. 
. *********************************
. ***Baseline results - Table A4***
. *********************************
. quietly {
SUM STATS FOR Turnout1

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     54,031    .9200996    .2218234          0          1


BETWEEN-FAMILY EFFECT OF stdEA_PGI

 ( 1)  stdEA_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0159754   .0010139    15.76   0.000     .0139881    .0179628
------------------------------------------------------------------------------

Incremental R2 = .00514277


BETWEEN-FAMILY EFFECT OF stdCP_PGI

 ( 1)  stdCP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0098345   .0010195     9.65   0.000     .0078362    .0118329
------------------------------------------------------------------------------

Incremental R2 = .00195271


BETWEEN-FAMILY EFFECT OF stdEXTRA_PGI

 ( 1)  stdEXTRA_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0008564   .0010137    -0.84   0.398    -.0028434    .0011306
------------------------------------------------------------------------------

Incremental R2 = .00001481


BETWEEN-FAMILY EFFECT OF stdNEURO_PGI

 ( 1)  stdNEURO_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0035343   .0010142    -3.49   0.000    -.0055221   -.0015466
------------------------------------------------------------------------------

Incremental R2 = .00025227


BETWEEN-FAMILY EFFECT OF stdRISK_PGI

 ( 1)  stdRISK_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   -.002328   .0010006    -2.33   0.020    -.0042891   -.0003668
------------------------------------------------------------------------------

Incremental R2 = .00010966


BETWEEN-FAMILY EFFECT OF stdADVENTURE_PGI

 ( 1)  stdADVENTURE_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0011391       .001    -1.14   0.255     -.003099    .0008209
------------------------------------------------------------------------------

Incremental R2 = .00002627


BETWEEN-FAMILY EFFECT OF stdMORNING_PGI

 ( 1)  stdMORNING_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0021611   .0010073     2.15   0.032     .0001868    .0041354
------------------------------------------------------------------------------

Incremental R2 = .00009393


BETWEEN-FAMILY EFFECT OF stdSRH_PGI

 ( 1)  stdSRH_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |    .012838   .0010151    12.65   0.000     .0108484    .0148277
------------------------------------------------------------------------------

Incremental R2 = .00332179


BETWEEN-FAMILY EFFECT OF stdDEP_PGI

 ( 1)  stdDEP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0085413   .0009971    -8.57   0.000    -.0104957   -.0065869
------------------------------------------------------------------------------

Incremental R2 = .00147663


BETWEEN-FAMILY EFFECT OF stdSWB_PGI

 ( 1)  stdSWB_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0076867   .0009846     7.81   0.000     .0057568    .0096166
------------------------------------------------------------------------------

Incremental R2 = .00119229


BETWEEN-FAMILY EFFECT OF stdACTIVITY_PGI

 ( 1)  stdACTIVITY_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0052933   .0010177     5.20   0.000     .0032986    .0072879
------------------------------------------------------------------------------

Incremental R2 = .00056679

. 
. 
. *****************************************
. **BENJAMINI-HOCHBERG - BASELINE MODELS***
. *****************************************
. foreach name in Turnout1 Turnout2 TurnoutSelf PolPart {
  2. preserve
  3. drop if `name'==.
  4. drop if PC1==.
  5. tempfile `name'
  6. save ``name''
  7. restore
  8. }
(11,752 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_000004.tmp saved
(11,432 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_000006.tmp saved
(57,817 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_000008.tmp saved
(51,394 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_00000a.tmp saved

. 
. 
. local DV = "Turnout1"

. *local DV = "Turnout2"
. *local DV = "TurnoutSelf"
. *local DV = "PolPart"
. 
. 
. use ``DV'', clear

. 
. *BETWEEN-FAMILY - SEPARATE MODELS
. local j = 1

. gen p = .
(54,031 missing values generated)

. gen name = ""
(54,031 missing values generated)

. 
. foreach name in CP EXTRA NEURO RISK ADVENTURE MORNING SRH DEP SWB ACTIVITY {
  2. qui: reg `DV' std`name'_PGI c.MALE##i.Byear PC1-PC10 i.samplenum, cluster(PairID)
  3. matrix a = r(table)
  4. replace p = a[4,1] in `j'
  5. replace name = "`name'" in `j'
  6. local j = `j' + 1
  7. }
(1 real change made)
variable name was str1 now str2
(1 real change made)
(1 real change made)
variable name was str2 now str5
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
variable name was str5 now str9
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)

. 
. preserve

. keep p name

. keep in 1/10
(54,021 observations deleted)

. sort p

. gen i = _n

. gen q90 = 0.10*i/10

. gen q90diff = q90 - p

. gen q95 = 0.05*i/10

. gen q95diff = q95 - p

. gen q99 = 0.01*i/10

. gen q99diff = q99 - p

. noisily display as text ""


. noisily display as text ""


. noisily display as text "BETWEEN-FAMILY, SEPARATE MODELS (`DV')"
BETWEEN-FAMILY, SEPARATE MODELS (Turnout1)

. list name p q*diff

     +----------------------------------------------------------+
     |      name          p     q90diff     q95diff     q99diff |
     |----------------------------------------------------------|
  1. |       SRH   1.41e-36         .01        .005        .001 |
  2. |        CP   5.45e-22         .02         .01        .002 |
  3. |       DEP   1.12e-17         .03        .015        .003 |
  4. |       SWB   6.03e-15         .04         .02        .004 |
  5. |  ACTIVITY   1.99e-07    .0499998    .0249998    .0049998 |
     |----------------------------------------------------------|
  6. |     NEURO   .0004927    .0595073    .0295073    .0055073 |
  7. |      RISK   .0199887    .0500113    .0150113   -.0129887 |
  8. |   MORNING    .031918     .048082     .008082    -.023918 |
  9. | ADVENTURE   .2546639   -.1646639   -.2096639   -.2456639 |
 10. |     EXTRA   .3982303   -.2982303   -.3482303   -.3882303 |
     +----------------------------------------------------------+

. restore

. 
. drop p name

. 
. 
. clear all

. 
. use "E:\ProjData\PGS and politics/STRdata.dta", clear

. *use "E:\ProjData\PGS and politics/WLSdata.dta", clear
. *use "E:\ProjData\PGS and politics/MTFSdata.dta"
. *use "E:\ProjData\PGS and politics/AHdata.dta"
. append using "E:\ProjData\PGS and politics/WLSdata.dta"
(note: variable PairID was float, now double to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/MTFSdata.dta"
(note: variable Byear was float, now double to accommodate using data's values)
(note: variable MALE was float, now double to accommodate using data's values)
(note: variable sample was str3, now str4 to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/AHdata.dta"
(note: variable SchoolID was float, now double to accommodate using data's values)
(note: variable Ideology was float, now double to accommodate using data's values)
(note: variable Contact was float, now double to accommodate using data's values)

. 
. gen samplenum = .
(65,783 missing values generated)

. replace samplenum = 1 if sample=="STR"
(43,669 real changes made)

. replace samplenum = 2 if sample=="wls"
(8,937 real changes made)

. replace samplenum = 3 if sample=="mtfs"
(7,525 real changes made)

. replace samplenum = 4 if sample=="ah"
(5,652 real changes made)

. 
. replace Byear = Byear+1900 if sample=="mtfs"
(7,523 real changes made)

. 
. rename EduYears EA

. 
. 
. ************************************
. ***Mediation analyses - Table A11***
. ************************************
. 
. clear all

. 
. use "E:\ProjData\PGS and politics/STRdata.dta", clear

. *use "E:\ProjData\PGS and politics/WLSdata.dta", clear
. *use "E:\ProjData\PGS and politics/MTFSdata.dta"
. *use "E:\ProjData\PGS and politics/AHdata.dta"
. append using "E:\ProjData\PGS and politics/WLSdata.dta"
(note: variable PairID was float, now double to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/MTFSdata.dta"
(note: variable Byear was float, now double to accommodate using data's values)
(note: variable MALE was float, now double to accommodate using data's values)
(note: variable sample was str3, now str4 to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/AHdata.dta"
(note: variable SchoolID was float, now double to accommodate using data's values)
(note: variable Ideology was float, now double to accommodate using data's values)
(note: variable Contact was float, now double to accommodate using data's values)

. 
. gen samplenum = .
(65,783 missing values generated)

. replace samplenum = 1 if sample=="STR"
(43,669 real changes made)

. replace samplenum = 2 if sample=="wls"
(8,937 real changes made)

. replace samplenum = 3 if sample=="mtfs"
(7,525 real changes made)

. replace samplenum = 4 if sample=="ah"
(5,652 real changes made)

. 
. replace Byear = Byear+1900 if sample=="mtfs"
(7,523 real changes made)

. 
. rename EduYears EA

. 
. 
. quietly {


BETWEEN-FAMILY EFFECT OF stdCP_PGI

 ( 1)  stdCP_PGI = 0

------------------------------------------------------------------------------
          CP |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .2665502   .0060939    43.74   0.000     .2546058    .2784946
------------------------------------------------------------------------------

Incremental R2 = .07046824
SUM STATS FOR CP

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
          CP |     28,960    .0018777    .9996214   -8.29828    3.35014


BETWEEN-FAMILY EFFECT OF stdEXTRA_PGI

 ( 1)  stdEXTRA_PGI = 0

------------------------------------------------------------------------------
       EXTRA |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |    .104044   .0063212    16.46   0.000     .0916538    .1164342
------------------------------------------------------------------------------

Incremental R2 = .01068589
SUM STATS FOR EXTRA

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
       EXTRA |     28,570   -.0007956    1.000353  -4.407237    3.38334


BETWEEN-FAMILY EFFECT OF stdNEURO_PGI

 ( 1)  stdNEURO_PGI = 0

------------------------------------------------------------------------------
       NEURO |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0958221   .0054033    17.73   0.000     .0852312    .1064129
------------------------------------------------------------------------------

Incremental R2 = .00917237
SUM STATS FOR NEURO

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
       NEURO |     35,098   -.0018792     .999092  -3.336798   4.190189


BETWEEN-FAMILY EFFECT OF stdRISK_PGI

 ( 1)  stdRISK_PGI = 0

------------------------------------------------------------------------------
        RISK |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0898705   .0060476    14.86   0.000     .0780167    .1017243
------------------------------------------------------------------------------

Incremental R2 = .00797594
SUM STATS FOR RISK

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        RISK |     27,864   -.0004662    .9994858   -1.98671   2.932624


BETWEEN-FAMILY EFFECT OF stdSRH_PGI

 ( 1)  stdSRH_PGI = 0

------------------------------------------------------------------------------
         SRH |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |    .147716    .005324    27.75   0.000     .1372807    .1581514
------------------------------------------------------------------------------

Incremental R2 = .0217082
SUM STATS FOR SRH

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         SRH |     36,498    .0000698    .9998837  -4.033772   1.464874


BETWEEN-FAMILY EFFECT OF stdDEP_PGI

 ( 1)  stdDEP_PGI = 0

------------------------------------------------------------------------------
         DEP |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .1182296   .0064514    18.33   0.000     .1055844    .1308748
------------------------------------------------------------------------------

Incremental R2 = .01390133
SUM STATS FOR DEP

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         DEP |     26,053   -.0000536    .9999151  -1.250485   8.813945


BETWEEN-FAMILY EFFECT OF stdSWB_PGI

 ( 1)  stdSWB_PGI = 0

------------------------------------------------------------------------------
         SWB |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .1109223   .0063638    17.43   0.000     .0984486     .123396
------------------------------------------------------------------------------

Incremental R2 = .01213394
SUM STATS FOR SWB

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         SWB |     27,290    .0001488     .999533  -6.517812   2.128463


BETWEEN-FAMILY EFFECT OF stdACTIVITY_PGI

 ( 1)  stdACTIVITY_PGI = 0

------------------------------------------------------------------------------
    ACTIVITY |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0649711   .0067686     9.60   0.000      .051704    .0782382
------------------------------------------------------------------------------

Incremental R2 = .00417881
SUM STATS FOR ACTIVITY

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    ACTIVITY |     23,575   -.0000162    .9999579   -2.78307   1.598912

. 
. ***Drop young individuals in STR for the EA analysis
. drop if Byear>1990 & sample=="STR"
(13,914 observations deleted)

. quietly {


BETWEEN-FAMILY EFFECT OF stdEA_PGI

 ( 1)  stdEA_PGI = 0

------------------------------------------------------------------------------
          EA |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .2649118   .0044422    59.64   0.000     .2562049    .2736187
------------------------------------------------------------------------------

Incremental R2 = .06518078
SUM STATS FOR EA

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
          EA |     48,849    .0650373    1.032874  -3.049394   2.213336

. 
. 
. ************************************
. ***Mediation analyses - Table A12***
. ************************************
. *BETWEEN-FAMILY - SEPARATE MODELS
. foreach name in CP EXTRA NEURO RISK SRH DEP SWB ACTIVITY {
  2. preserve
  3. local DV = "Turnout1"
  4. *local DV = "Turnout2"
. *local DV = "TurnoutSelf"
. *local DV = "PolPart"
. drop if `DV'==.
  5. drop if `name'==.
  6. drop if PC1==.
  7. 
. noisily display as text ""
  8. noisily display as text ""
  9. noisily display as text "SUM STATS FOR `DV' and `name'"
 10. noisily sum `DV' `name'
 11. 
. qui reg `DV' std`name'_PGI `name' c.MALE##i.Byear PC1-PC10 i.samplenum, cluster(PairID)
 12. gen b_med = _b[std`name'_PGI]
 13. noisily display as text ""
 14. noisily display as text ""
 15. noisily display as text "BETWEEN-FAMILY EFFECTS OF std`name'_PGI and `name'"
 16. noisily lincom std`name'_PGI
 17. noisily lincom `name'
 18. qui reg `DV' std`name'_PGI c.MALE##i.Byear PC1-PC10 i.samplenum if e(sample), cluster(P
> airID)
 19. gen b_unmed = _b[std`name'_PGI]
 20. gen change = (b_med-b_unmed)/b_unmed
 21. noisily display as text ""
 22. noisily display as text "BETWEEN-FAMILY EFFECTS OF std`name'_PGI"
 23. noisily lincom std`name'_PGI
 24. sum change
 25. drop b_* change
 26. 
. restore
 27. }
(7,330 observations deleted)
(21,325 observations deleted)
(0 observations deleted)


SUM STATS FOR Turnout1 and CP

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     23,214    .9139743     .222851          0          1
          CP |     23,214    .0070546    .9980221  -2.577664    3.35014


BETWEEN-FAMILY EFFECTS OF stdCP_PGI and CP

 ( 1)  stdCP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0022501   .0015039     1.50   0.135    -.0006977    .0051978
------------------------------------------------------------------------------

 ( 1)  CP = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0162112   .0015926    10.18   0.000     .0130894    .0193329
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdCP_PGI

 ( 1)  stdCP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0066774    .001455     4.59   0.000     .0038255    .0095293
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     23,214   -.6630332           0  -.6630332  -.6630332
(7,330 observations deleted)
(22,636 observations deleted)
(0 observations deleted)


SUM STATS FOR Turnout1 and EXTRA

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     21,903    .9130576    .2233056          0          1
       EXTRA |     21,903    .0008226    .9989869  -4.407237    3.38334


BETWEEN-FAMILY EFFECTS OF stdEXTRA_PGI and EXTRA

 ( 1)  stdEXTRA_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0006407   .0015422     0.42   0.678    -.0023822    .0036637
------------------------------------------------------------------------------

 ( 1)  EXTRA = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0075722   .0015336     4.94   0.000     .0045662    .0105783
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdEXTRA_PGI

 ( 1)  stdEXTRA_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0014003   .0015397     0.91   0.363    -.0016178    .0044184
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     21,903   -.5424322           0  -.5424322  -.5424322
(7,330 observations deleted)
(16,135 observations deleted)
(0 observations deleted)


SUM STATS FOR Turnout1 and NEURO

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     28,404    .9191323     .211305          0          1
       NEURO |     28,404   -.0044159    .9989642  -3.336798    4.37343


BETWEEN-FAMILY EFFECTS OF stdNEURO_PGI and NEURO

 ( 1)  stdNEURO_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0036963   .0012663    -2.92   0.004    -.0061784   -.0012142
------------------------------------------------------------------------------

 ( 1)  NEURO = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0049744   .0012987    -3.83   0.000    -.0075199   -.0024289
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdNEURO_PGI

 ( 1)  stdNEURO_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0041168   .0012643    -3.26   0.001     -.006595   -.0016387
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     28,404   -.1021432           0  -.1021432  -.1021432
(7,330 observations deleted)
(23,304 observations deleted)
(0 observations deleted)


SUM STATS FOR Turnout1 and RISK

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     21,235    .9155686    .2187311          0          1
        RISK |     21,235   -.0052891     .998715  -1.903933   2.932624


BETWEEN-FAMILY EFFECTS OF stdRISK_PGI and RISK

 ( 1)  stdRISK_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0036321   .0014999    -2.42   0.015    -.0065721    -.000692
------------------------------------------------------------------------------

 ( 1)  RISK = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0026526   .0015917     1.67   0.096    -.0004674    .0057725
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdRISK_PGI

 ( 1)  stdRISK_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0033895   .0014908    -2.27   0.023    -.0063116   -.0004674
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     21,235    .0715723           0   .0715723   .0715723
(7,330 observations deleted)
(14,891 observations deleted)
(0 observations deleted)


SUM STATS FOR Turnout1 and SRH

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     29,648     .921816    .2158994          0          1
         SRH |     29,648    .0101232    .9968257  -4.033772   1.290473


BETWEEN-FAMILY EFFECTS OF stdSRH_PGI and SRH

 ( 1)  stdSRH_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0092188   .0012967     7.11   0.000     .0066771    .0117605
------------------------------------------------------------------------------

 ( 1)  SRH = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0161461   .0013914    11.60   0.000     .0134188    .0188733
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdSRH_PGI

 ( 1)  stdSRH_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0114509   .0012926     8.86   0.000     .0089174    .0139844
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     29,648   -.1949314           0  -.1949314  -.1949314
(7,330 observations deleted)
(25,271 observations deleted)
(0 observations deleted)


SUM STATS FOR Turnout1 and DEP

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     19,268    .9121514     .233097          0          1
         DEP |     19,268    -.014466    .9915874  -1.199039   8.813945


BETWEEN-FAMILY EFFECTS OF stdDEP_PGI and DEP

 ( 1)  stdDEP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0054558   .0017022    -3.21   0.001    -.0087923   -.0021192
------------------------------------------------------------------------------

 ( 1)  DEP = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0134421   .0019278    -6.97   0.000    -.0172208   -.0096634
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdDEP_PGI

 ( 1)  stdDEP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0069762   .0016971    -4.11   0.000    -.0103027   -.0036497
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     19,268   -.2179429           0  -.2179429  -.2179429
(7,330 observations deleted)
(23,877 observations deleted)
(0 observations deleted)


SUM STATS FOR Turnout1 and SWB

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     20,662    .9148179    .2200373          0          1
         SWB |     20,662    .0037937     .996667  -6.517812   2.128463


BETWEEN-FAMILY EFFECTS OF stdSWB_PGI and SWB

 ( 1)  stdSWB_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0054782   .0015369     3.56   0.000     .0024657    .0084907
------------------------------------------------------------------------------

 ( 1)  SWB = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0075104   .0016244     4.62   0.000     .0043265    .0106944
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdSWB_PGI

 ( 1)  stdSWB_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0063543   .0015354     4.14   0.000     .0033446    .0093639
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     20,662   -.1378687           0  -.1378687  -.1378687
(7,330 observations deleted)
(27,035 observations deleted)
(0 observations deleted)


SUM STATS FOR Turnout1 and ACTIVITY

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     17,504    .9075164    .2428889          0          1
    ACTIVITY |     17,504    .0039138    1.000681   -2.78307   1.598912


BETWEEN-FAMILY EFFECTS OF stdACTIVITY_PGI and ACTIVITY

 ( 1)  stdACTIVITY_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0051679   .0018572     2.78   0.005     .0015275    .0088083
------------------------------------------------------------------------------

 ( 1)  ACTIVITY = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0092366   .0018052     5.12   0.000     .0056982     .012775
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdACTIVITY_PGI

 ( 1)  stdACTIVITY_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |    .005914    .001853     3.19   0.001     .0022819     .009546
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     17,504   -.1261577           0  -.1261577  -.1261577

. 
. 
. 
. ***Drop younger individuals in STR for the EA analysis
. foreach name in EA {
  2. preserve
  3. drop if Byear>1990 & sample=="STR"
  4. *local DV = "Turnout1"
. *local DV = "Turnout2"
. *local DV = "TurnoutSelf"
. local DV = "PolPart"
  5. drop if `DV'==.
  6. drop if `name'==.
  7. drop if PC1==.
  8. 
. noisily display as text ""
  9. noisily display as text ""
 10. noisily display as text "SUM STATS FOR `DV' and `name'"
 11. noisily sum `DV' `name'
 12. 
. qui reg `DV' std`name'_PGI `name' c.MALE##i.Byear PC1-PC10 i.samplenum, cluster(PairID)
 13. gen b_med = _b[std`name'_PGI]
 14. noisily display as text ""
 15. noisily display as text ""
 16. noisily display as text "BETWEEN-FAMILY EFFECTS OF std`name'_PGI and `name'"
 17. noisily lincom std`name'_PGI
 18. noisily lincom `name'
 19. qui reg `DV' std`name'_PGI c.MALE##i.Byear PC1-PC10 i.samplenum if e(sample), cluster(P
> airID)
 20. gen b_unmed = _b[std`name'_PGI]
 21. gen change = (b_med-b_unmed)/b_unmed
 22. noisily display as text ""
 23. noisily display as text "BETWEEN-FAMILY EFFECTS OF std`name'_PGI"
 24. noisily lincom std`name'_PGI
 25. sum change
 26. drop b_* change
 27. 
. restore
 28. }
(0 observations deleted)
(37,480 observations deleted)
(1 observation deleted)
(0 observations deleted)


SUM STATS FOR PolPart and EA

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     PolPart |     14,388    .0696877    .1765318          0          1
          EA |     14,388   -.0205885    .9972643  -3.049394   2.213336


BETWEEN-FAMILY EFFECTS OF stdEA_PGI and EA

 ( 1)  stdEA_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0073706   .0015673     4.70   0.000     .0042985    .0104427
------------------------------------------------------------------------------

 ( 1)  EA = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0270031   .0016069    16.80   0.000     .0238533     .030153
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF stdEA_PGI

 ( 1)  stdEA_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0154932   .0015384    10.07   0.000     .0124778    .0185087
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     14,388    -.524268           0   -.524268   -.524268

. 
. 
. 
. 
. **************************************
. ***Confounding analyses - Table A13***
. **************************************
. *BETWEEN-FAMILY - SEPARATE MODELS
. foreach name in CP EXTRA NEURO RISK SRH DEP SWB ACTIVITY {
  2. preserve
  3. *local DV = "Turnout1"
. local DV = "Turnout2"
  4. *local DV = "TurnoutSelf"
. *local DV = "PolPart"
. drop if `DV'==.
  5. drop if `name'==.
  6. drop if PC1==.
  7. drop stdHEIGHT_PGI stdBMI_PGI
  8. 
. qui reg `DV' `name' std* c.MALE##i.Byear PC1-PC10 i.samplenum, cluster(PairID)
  9. gen b_med = _b[`name']
 10. noisily display as text ""
 11. noisily display as text ""
 12. noisily display as text "BETWEEN-FAMILY EFFECTS OF `name'"
 13. noisily lincom `name'
 14. qui reg `DV' `name' c.MALE##i.Byear PC1-PC10 i.samplenum if e(sample), cluster(PairID)
 15. gen b_unmed = _b[`name']
 16. gen change = (b_med-b_unmed)/b_unmed
 17. noisily display as text ""
 18. noisily display as text "BETWEEN-FAMILY EFFECTS OF `name'"
 19. noisily lincom `name'
 20. sum change
 21. drop b_* change
 22. 
. restore
 23. }
(7,648 observations deleted)
(21,056 observations deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF CP

 ( 1)  CP = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0610116    .002556    23.87   0.000     .0560017    .0660216
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF CP

 ( 1)  CP = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0692159   .0024422    28.34   0.000      .064429    .0740028
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     23,165   -.1185315           0  -.1185315  -.1185315
(7,648 observations deleted)
(22,308 observations deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF EXTRA

 ( 1)  EXTRA = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0260687   .0024569    10.61   0.000     .0212528    .0308846
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF EXTRA

 ( 1)  EXTRA = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0280094   .0024698    11.34   0.000     .0231682    .0328506
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     21,913    -.069288           0   -.069288   -.069288
(7,648 observations deleted)
(16,134 observations deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF NEURO

 ( 1)  NEURO = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0040703   .0022353    -1.82   0.069    -.0084517     .000311
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF NEURO

 ( 1)  NEURO = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0059949   .0022509    -2.66   0.008     -.010407   -.0015828
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     28,087    -.321033           0   -.321033   -.321033
(7,648 observations deleted)
(22,974 observations deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF RISK

 ( 1)  RISK = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0135079   .0026171     5.16   0.000      .008378    .0186377
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF RISK

 ( 1)  RISK = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0151469   .0026228     5.78   0.000     .0100058    .0202879
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     21,247   -.1082073           0  -.1082073  -.1082073
(7,648 observations deleted)
(14,575 observations deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF SRH

 ( 1)  SRH = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0224139   .0023337     9.60   0.000     .0178397    .0269881
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF SRH

 ( 1)  SRH = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0281105   .0023465    11.98   0.000     .0235112    .0327099
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     29,646   -.2026509           0  -.2026509  -.2026509
(7,648 observations deleted)
(24,948 observations deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF DEP

 ( 1)  DEP = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   -.020543   .0029152    -7.05   0.000    -.0262572   -.0148288
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF DEP

 ( 1)  DEP = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0240308   .0029339    -8.19   0.000    -.0297816   -.0182801
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     19,273   -.1451388           0  -.1451388  -.1451388
(7,648 observations deleted)
(23,548 observations deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF SWB

 ( 1)  SWB = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0204533   .0025657     7.97   0.000     .0154243    .0254824
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF SWB

 ( 1)  SWB = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0217405   .0025896     8.40   0.000     .0166645    .0268165
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     20,673   -.0592064           0  -.0592064  -.0592064
(7,648 observations deleted)
(26,712 observations deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF ACTIVITY

 ( 1)  ACTIVITY = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0149119   .0028331     5.26   0.000     .0093587    .0204652
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF ACTIVITY

 ( 1)  ACTIVITY = 0

------------------------------------------------------------------------------
    Turnout2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0189376   .0028382     6.67   0.000     .0133743     .024501
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     17,509   -.2125761           0  -.2125761  -.2125761

. 
. ***Drop younger individuals in STR for the EA analysis
. foreach name in EA {
  2. preserve
  3. drop if Byear>1990 & sample=="STR"
  4. *local DV = "Turnout1"
. *local DV = "Turnout2"
. *local DV = "TurnoutSelf"
. local DV = "PolPart"
  5. drop if `DV'==.
  6. drop if `name'==.
  7. drop if PC1==.
  8. drop stdHEIGHT_PGI stdBMI_PGI
  9. 
. qui reg `DV' `name' std* c.MALE##i.Byear PC1-PC10 i.samplenum, cluster(PairID)
 10. gen b_med = _b[`name']
 11. noisily display as text ""
 12. noisily display as text ""
 13. noisily display as text "BETWEEN-FAMILY EFFECTS OF `name'"
 14. noisily lincom `name'
 15. qui reg `DV' `name' c.MALE##i.Byear PC1-PC10 i.samplenum if e(sample), cluster(PairID)
 16. gen b_unmed = _b[`name']
 17. gen change = (b_med-b_unmed)/b_unmed
 18. noisily display as text ""
 19. noisily display as text "BETWEEN-FAMILY EFFECTS OF `name'"
 20. noisily lincom `name'
 21. sum change
 22. drop b_* change
 23. 
. restore
 24. }
(0 observations deleted)
(37,480 observations deleted)
(1 observation deleted)
(0 observations deleted)


BETWEEN-FAMILY EFFECTS OF EA

 ( 1)  EA = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0272801   .0016136    16.91   0.000     .0241171    .0304431
------------------------------------------------------------------------------

BETWEEN-FAMILY EFFECTS OF EA

 ( 1)  EA = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0292645   .0015618    18.74   0.000     .0262031    .0323259
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      change |     14,388   -.0678087           0  -.0678087  -.0678087

. 
. 
. 
. 
. 
. 
. 
. 
. **************************************************
. ***Between- vs. within-family models - Table A5***
. **************************************************
. *Keep only DZs and full siblings
. drop if BESTZYG==1 | BESTZYG==3
(9,962 observations deleted)

. drop if mz==1
(186 observations deleted)

. drop if FTYPE==1 | FTYPE==5 | FTYPE==6
(4,663 observations deleted)

. 
. 
. quietly {
SUM STATS FOR Turnout1

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     15,478    .9221023    .2108814          0          1


BETWEEN-FAMILY EFFECT OF stdCP_PGI

 ( 1)  stdCP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0088106    .001706     5.16   0.000     .0054663    .0121548
------------------------------------------------------------------------------

Incremental R2 = .00172848


BETWEEN-FAMILY EFFECT OF stdEXTRA_PGI

 ( 1)  stdEXTRA_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0001911   .0017199     0.11   0.912    -.0031803    .0035625
------------------------------------------------------------------------------

Incremental R2 = 8.047e-07


BETWEEN-FAMILY EFFECT OF stdNEURO_PGI

 ( 1)  stdNEURO_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0057282   .0016985    -3.37   0.001    -.0090577   -.0023987
------------------------------------------------------------------------------

Incremental R2 = .0007286


BETWEEN-FAMILY EFFECT OF stdRISK_PGI

 ( 1)  stdRISK_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0019299   .0017049    -1.13   0.258     -.005272    .0014121
------------------------------------------------------------------------------

Incremental R2 = .00008359


BETWEEN-FAMILY EFFECT OF stdADVENTURE_PGI

 ( 1)  stdADVENTURE_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0024188   .0016625    -1.45   0.146    -.0056778    .0008401
------------------------------------------------------------------------------

Incremental R2 = .00012833


BETWEEN-FAMILY EFFECT OF stdMORNING_PGI

 ( 1)  stdMORNING_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0023447   .0017072     1.37   0.170    -.0010018    .0056913
------------------------------------------------------------------------------

Incremental R2 = .00012078


BETWEEN-FAMILY EFFECT OF stdSRH_PGI

 ( 1)  stdSRH_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0116608   .0017102     6.82   0.000     .0083083    .0150132
------------------------------------------------------------------------------

Incremental R2 = .00303015


BETWEEN-FAMILY EFFECT OF stdDEP_PGI

 ( 1)  stdDEP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0098316   .0017069    -5.76   0.000    -.0131777   -.0064856
------------------------------------------------------------------------------

Incremental R2 = .00214129


BETWEEN-FAMILY EFFECT OF stdSWB_PGI

 ( 1)  stdSWB_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0068373   .0017047     4.01   0.000     .0034957    .0101789
------------------------------------------------------------------------------

Incremental R2 = .00103403


BETWEEN-FAMILY EFFECT OF stdACTIVITY_PGI

 ( 1)  stdACTIVITY_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0059083   .0016624     3.55   0.000     .0026496    .0091669
------------------------------------------------------------------------------

Incremental R2 = .00078133


WITHIN-FAMILY EFFECT OF CP

 ( 1)  stdCP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0070914   .0033361     2.13   0.034     .0005517     .013631
------------------------------------------------------------------------------

Incremental R2 = .00059813


WITHIN-FAMILY EFFECT OF EXTRA

 ( 1)  stdEXTRA_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0011019   .0032338    -0.34   0.733    -.0074411    .0052372
------------------------------------------------------------------------------

Incremental R2 = .00001489


WITHIN-FAMILY EFFECT OF NEURO

 ( 1)  stdNEURO_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0085631   .0031098    -2.75   0.006    -.0146591   -.0024671
------------------------------------------------------------------------------

Incremental R2 = .00090698


WITHIN-FAMILY EFFECT OF RISK

 ( 1)  stdRISK_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   -.000718   .0032274    -0.22   0.824    -.0070445    .0056085
------------------------------------------------------------------------------

Incremental R2 = 6.286e-06


WITHIN-FAMILY EFFECT OF ADVENTURE

 ( 1)  stdADVENTURE_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0072448    .003308    -2.19   0.029    -.0137294   -.0007602
------------------------------------------------------------------------------

Incremental R2 = .00062562


WITHIN-FAMILY EFFECT OF MORNING

 ( 1)  stdMORNING_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0009792   .0032343     0.30   0.762    -.0053609    .0073193
------------------------------------------------------------------------------

Incremental R2 = .00001126


WITHIN-FAMILY EFFECT OF SRH

 ( 1)  stdSRH_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0136562    .003495     3.91   0.000     .0068051    .0205074
------------------------------------------------------------------------------

Incremental R2 = .00209014


WITHIN-FAMILY EFFECT OF DEP

 ( 1)  stdDEP_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0118106   .0032885    -3.59   0.000    -.0182568   -.0053643
------------------------------------------------------------------------------

Incremental R2 = .00166845


WITHIN-FAMILY EFFECT OF SWB

 ( 1)  stdSWB_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0080532   .0032778     2.46   0.014     .0016279    .0144785
------------------------------------------------------------------------------

Incremental R2 = .00076097


WITHIN-FAMILY EFFECT OF ACTIVITY

 ( 1)  stdACTIVITY_PGI = 0

------------------------------------------------------------------------------
    Turnout1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0065214   .0032584     2.00   0.045     .0001341    .0129087
------------------------------------------------------------------------------

Incremental R2 = .00050362

. 
. 
. ********************************************
. **BENJAMINI-HOCHBERG - BETWEEN VS. WITHIN***
. ********************************************
. foreach name in Turnout1 Turnout2 TurnoutSelf PolPart {
  2. preserve
  3. drop if `name'==.
  4. drop if PC1==.
  5. bysort PairID: gen occ = _N
  6. keep if occ==2
  7. drop occ
  8. tempfile `name'
  9. save ``name''
 10. restore
 11. }
(6,337 observations deleted)
(0 observations deleted)
(15,243 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_000010.tmp saved
(6,639 observations deleted)
(0 observations deleted)
(15,337 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_000012.tmp saved
(30,803 observations deleted)
(0 observations deleted)
(4,595 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_000014.tmp saved
(25,562 observations deleted)
(0 observations deleted)
(7,290 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_000016.tmp saved

. 
. 
. local DV = "Turnout1"

. *local DV = "Turnout2"
. *local DV = "TurnoutSelf"
. *local DV = "PolPart"
. 
. 
. use ``DV'', clear

. 
. *BETWEEN-FAMILY - SEPARATE MODELS
. local j = 1

. gen p = .
(15,478 missing values generated)

. gen name = ""
(15,478 missing values generated)

. 
. foreach name in CP EXTRA NEURO RISK ADVENTURE MORNING SRH DEP SWB ACTIVITY {
  2. qui: reg `DV' std`name'_PGI c.MALE##i.Byear PC1-PC10 i.samplenum, cluster(PairID)
  3. matrix a = r(table)
  4. replace p = a[4,1] in `j'
  5. replace name = "`name'" in `j'
  6. local j = `j' + 1
  7. }
(1 real change made)
variable name was str1 now str2
(1 real change made)
(1 real change made)
variable name was str2 now str5
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
variable name was str5 now str9
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)

. 
. preserve

. keep p name

. keep in 1/10
(15,468 observations deleted)

. sort p

. gen i = _n

. gen q90 = 0.10*i/10

. gen q90diff = q90 - p

. gen q95 = 0.05*i/10

. gen q95diff = q95 - p

. gen q99 = 0.01*i/10

. gen q99diff = q99 - p

. noisily display as text ""


. noisily display as text ""


. noisily display as text "BETWEEN-FAMILY, SEPARATE MODELS (`DV')"
BETWEEN-FAMILY, SEPARATE MODELS (Turnout1)

. list name p q*diff

     +----------------------------------------------------------+
     |      name          p     q90diff     q95diff     q99diff |
     |----------------------------------------------------------|
  1. |       SRH   9.90e-12         .01        .005        .001 |
  2. |       DEP   8.74e-09         .02         .01        .002 |
  3. |        CP   2.47e-07    .0299998    .0149998    .0029998 |
  4. |       SWB   .0000611    .0399389    .0199389    .0039389 |
  5. |  ACTIVITY   .0003815    .0496185    .0246185    .0046185 |
     |----------------------------------------------------------|
  6. |     NEURO   .0007485    .0592515    .0292515    .0052515 |
  7. | ADVENTURE   .1457257   -.0757257   -.1107257   -.1387257 |
  8. |   MORNING   .1696548   -.0896548   -.1296548   -.1616548 |
  9. |      RISK   .2576653   -.1676653   -.2126653   -.2486653 |
 10. |     EXTRA   .9115361   -.8115361   -.8615361   -.9015361 |
     +----------------------------------------------------------+

. restore

. 
. drop p name

. 
. 
. 
. ***WITHIN-FAMILY - SEPARATE MODELS
. xtset PairID
       panel variable:  PairID (balanced)

. local k = 1

. gen p = .
(15,478 missing values generated)

. gen name = ""
(15,478 missing values generated)

. 
. foreach name in CP EXTRA NEURO RISK ADVENTURE MORNING SRH DEP SWB ACTIVITY {
  2. qui: xtreg `DV' std`name'_PGI c.MALE##i.Byear PC1-PC10, fe cluster(PairID)
  3. matrix c = r(table)
  4. replace p = c[4,1] in `k'
  5. replace name = "`name'" in `k'
  6. local k = `k' + 1
  7. }
(1 real change made)
variable name was str1 now str2
(1 real change made)
(1 real change made)
variable name was str2 now str5
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
variable name was str5 now str9
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)

. 
. preserve

. keep p name

. keep in 1/10
(15,468 observations deleted)

. sort p

. gen i = _n

. gen q90 = 0.10*i/10

. gen q90diff = q90 - p

. gen q95 = 0.05*i/10

. gen q95diff = q95 - p

. gen q99 = 0.01*i/10

. gen q99diff = q99 - p

. noisily display as text ""


. noisily display as text ""


. noisily display as text "WITHIN-FAMILY, SEPARATE MODELS (`DV')"
WITHIN-FAMILY, SEPARATE MODELS (Turnout1)

. list name p q*diff

     +----------------------------------------------------------+
     |      name          p     q90diff     q95diff     q99diff |
     |----------------------------------------------------------|
  1. |       SRH   .0000941    .0099059    .0049059    .0009059 |
  2. |       DEP   .0003308    .0196692    .0096692    .0016692 |
  3. |     NEURO   .0059081    .0240919    .0090919   -.0029081 |
  4. |       SWB   .0140349    .0259651    .0059651   -.0100349 |
  5. | ADVENTURE   .0285484    .0214516   -.0035484   -.0235484 |
     |----------------------------------------------------------|
  6. |        CP   .0335639    .0264361   -.0035639   -.0275639 |
  7. |  ACTIVITY   .0453798    .0246202   -.0103798   -.0383798 |
  8. |     EXTRA   .7332945   -.6532945   -.6932945   -.7252945 |
  9. |   MORNING   .7620944   -.6720943   -.7170944   -.7530944 |
 10. |      RISK   .8239568   -.7239568   -.7739568   -.8139569 |
     +----------------------------------------------------------+

. restore

. 
. drop p name

. 
. 
. 
. ********************************
. ***ADDITIONAL APPENDIX MODELS***
. ********************************
. 
. clear all

. 
. use "E:\ProjData\PGS and politics/STRdata.dta", clear

. *use "E:\ProjData\PGS and politics/WLSdata.dta", clear
. *use "E:\ProjData\PGS and politics/MTFSdata.dta"
. *use "E:\ProjData\PGS and politics/AHdata.dta"
. append using "E:\ProjData\PGS and politics/WLSdata.dta"
(note: variable PairID was float, now double to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/MTFSdata.dta"
(note: variable Byear was float, now double to accommodate using data's values)
(note: variable MALE was float, now double to accommodate using data's values)
(note: variable sample was str3, now str4 to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/AHdata.dta"
(note: variable SchoolID was float, now double to accommodate using data's values)
(note: variable Ideology was float, now double to accommodate using data's values)
(note: variable Contact was float, now double to accommodate using data's values)

. 
. gen samplenum = .
(65,783 missing values generated)

. replace samplenum = 1 if sample=="STR"
(43,669 real changes made)

. replace samplenum = 2 if sample=="wls"
(8,937 real changes made)

. replace samplenum = 3 if sample=="mtfs"
(7,525 real changes made)

. replace samplenum = 4 if sample=="ah"
(5,652 real changes made)

. 
. replace Byear = Byear+1900 if sample=="mtfs"
(7,523 real changes made)

. 
. rename EduYears EA

. 
. ********************************************************************************
. ***Baseline results for separate political participation measures - Table A10***
. ********************************************************************************
. quietly {
SUM STATS FOR Contact

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     Contact |     14,389    .1130725    .3166924          0          1


BETWEEN-FAMILY EFFECT OF stdEA_PGI

 ( 1)  stdEA_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0220114   .0027311     8.06   0.000      .016658    .0273648
------------------------------------------------------------------------------

Incremental R2 = .00475767


BETWEEN-FAMILY EFFECT OF stdCP_PGI

 ( 1)  stdCP_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0116365   .0026578     4.38   0.000     .0064267    .0168464
------------------------------------------------------------------------------

Incremental R2 = .00134363


BETWEEN-FAMILY EFFECT OF stdEXTRA_PGI

 ( 1)  stdEXTRA_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0071342   .0026613     2.68   0.007     .0019176    .0123508
------------------------------------------------------------------------------

Incremental R2 = .00050062


BETWEEN-FAMILY EFFECT OF stdNEURO_PGI

 ( 1)  stdNEURO_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0018018   .0026714    -0.67   0.500    -.0070382    .0034347
------------------------------------------------------------------------------

Incremental R2 = .00003192


BETWEEN-FAMILY EFFECT OF stdRISK_PGI

 ( 1)  stdRISK_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0159659   .0026425     6.04   0.000      .010786    .0211457
------------------------------------------------------------------------------

Incremental R2 = .00252876


BETWEEN-FAMILY EFFECT OF stdADVENTURE_PGI

 ( 1)  stdADVENTURE_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0117109    .002559     4.58   0.000     .0066949     .016727
------------------------------------------------------------------------------

Incremental R2 = .00135258


BETWEEN-FAMILY EFFECT OF stdMORNING_PGI

 ( 1)  stdMORNING_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0016816   .0026817    -0.63   0.531    -.0069383    .0035751
------------------------------------------------------------------------------

Incremental R2 = .00002804


BETWEEN-FAMILY EFFECT OF stdSRH_PGI

 ( 1)  stdSRH_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |    .004315   .0026815     1.61   0.108    -.0009412    .0095712
------------------------------------------------------------------------------

Incremental R2 = .00018599


BETWEEN-FAMILY EFFECT OF stdDEP_PGI

 ( 1)  stdDEP_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0001041   .0026665     0.04   0.969    -.0051227    .0053309
------------------------------------------------------------------------------

Incremental R2 = 1.043e-07


BETWEEN-FAMILY EFFECT OF stdSWB_PGI

 ( 1)  stdSWB_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0003738   .0026999    -0.14   0.890    -.0056661    .0049185
------------------------------------------------------------------------------

Incremental R2 = 1.378e-06


BETWEEN-FAMILY EFFECT OF stdACTIVITY_PGI

 ( 1)  stdACTIVITY_PGI = 0

------------------------------------------------------------------------------
     Contact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0031506   .0026601     1.18   0.236    -.0020637     .008365
------------------------------------------------------------------------------

Incremental R2 = .00009838

. 
. 
. 
. ***********************************
. **BENJAMINI-HOCHBERG - Table A10***
. ***********************************
. foreach name in Contact Contribute Rally {
  2. preserve
  3. drop if `name'==.
  4. drop if PC1==.
  5. tempfile `name'
  6. save ``name''
  7. restore
  8. }
(51,394 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_00001b.tmp saved
(51,396 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_00001d.tmp saved
(51,395 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_00001f.tmp saved

. 
. 
. local DV = "Contact"

. *local DV = "Contribute"
. *local DV = "Rally"
. 
. 
. use ``DV'', clear

. 
. *BETWEEN-FAMILY - SEPARATE MODELS
. local j = 1

. gen p = .
(14,389 missing values generated)

. gen name = ""
(14,389 missing values generated)

. 
. foreach name in CP EXTRA NEURO RISK ADVENTURE MORNING SRH DEP SWB ACTIVITY {
  2. qui: reg `DV' std`name'_PGI c.MALE##i.Byear PC1-PC10 i.samplenum, cluster(PairID)
  3. matrix a = r(table)
  4. replace p = a[4,1] in `j'
  5. replace name = "`name'" in `j'
  6. local j = `j' + 1
  7. }
(1 real change made)
variable name was str1 now str2
(1 real change made)
(1 real change made)
variable name was str2 now str5
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
variable name was str5 now str9
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)

. 
. preserve

. keep p name

. keep in 1/10
(14,379 observations deleted)

. sort p

. gen i = _n

. gen q90 = 0.10*i/10

. gen q90diff = q90 - p

. gen q95 = 0.05*i/10

. gen q95diff = q95 - p

. gen q99 = 0.01*i/10

. gen q99diff = q99 - p

. noisily display as text ""


. noisily display as text ""


. noisily display as text "BETWEEN-FAMILY, SEPARATE MODELS (`DV')"
BETWEEN-FAMILY, SEPARATE MODELS (Contact)

. list name p q*diff

     +----------------------------------------------------------+
     |      name          p     q90diff     q95diff     q99diff |
     |----------------------------------------------------------|
  1. |      RISK   1.57e-09         .01        .005        .001 |
  2. | ADVENTURE   4.78e-06    .0199952    .0099952    .0019952 |
  3. |        CP   .0000121    .0299879    .0149879    .0029879 |
  4. |     EXTRA   .0073572    .0326428    .0126428   -.0033572 |
  5. |       SRH   .1076042   -.0576042   -.0826042   -.1026042 |
     |----------------------------------------------------------|
  6. |  ACTIVITY   .2362881   -.1762881   -.2062881   -.2302881 |
  7. |     NEURO   .5000281   -.4300281   -.4650281   -.4930281 |
  8. |   MORNING   .5306389   -.4506389   -.4906389   -.5226389 |
  9. |       SWB   .8898813   -.7998813   -.8448813   -.8808813 |
 10. |       DEP   .9688547   -.8688546   -.9188547   -.9588547 |
     +----------------------------------------------------------+

. restore

. 
. drop p name

. 
. 
. 
. *****************************************************************************************
. ***TEST FOR EQUALITY OF PGI COEFFICIENTS USING SUEST MODELS ACROSS OUTCOMES - Table 10***
. *****************************************************************************************
. clear all

. 
. use "E:\ProjData\PGS and politics/STRdata.dta", clear

. *use "E:\ProjData\PGS and politics/WLSdata.dta", clear
. *use "E:\ProjData\PGS and politics/MTFSdata.dta"
. *use "E:\ProjData\PGS and politics/AHdata.dta"
. append using "E:\ProjData\PGS and politics/WLSdata.dta"
(note: variable PairID was float, now double to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/MTFSdata.dta"
(note: variable Byear was float, now double to accommodate using data's values)
(note: variable MALE was float, now double to accommodate using data's values)
(note: variable sample was str3, now str4 to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/AHdata.dta"
(note: variable SchoolID was float, now double to accommodate using data's values)
(note: variable Ideology was float, now double to accommodate using data's values)
(note: variable Contact was float, now double to accommodate using data's values)

. 
. gen samplenum = .
(65,783 missing values generated)

. replace samplenum = 1 if sample=="STR"
(43,669 real changes made)

. replace samplenum = 2 if sample=="wls"
(8,937 real changes made)

. replace samplenum = 3 if sample=="mtfs"
(7,525 real changes made)

. replace samplenum = 4 if sample=="ah"
(5,652 real changes made)

. 
. replace Byear = Byear+1900 if sample=="mtfs"
(7,523 real changes made)

. 
. rename EduYears EA

. 
. quietly {

  (1)  [Contact_mean]stdEA_PGI = [Contribute_mean]stdEA_PGI 
  (2)  [Contact_mean]stdEA_PGI = [Rally_mean]stdEA_PGI

               chi2(2) =       18.01
           Prob > chi2 =        0.0001

  (1)  [Contact_mean]stdCP_PGI = [Contribute_mean]stdCP_PGI 
  (2)  [Contact_mean]stdCP_PGI = [Rally_mean]stdCP_PGI

               chi2(2) =        2.54
           Prob > chi2 =        0.2811

  (1)  [Contact_mean]stdEXTRA_PGI = [Contribute_mean]stdEXTRA_PGI 
  (2)  [Contact_mean]stdEXTRA_PGI = [Rally_mean]stdEXTRA_PGI

               chi2(2) =        1.69
           Prob > chi2 =        0.4293

  (1)  [Contact_mean]stdNEURO_PGI = [Contribute_mean]stdNEURO_PGI 
  (2)  [Contact_mean]stdNEURO_PGI = [Rally_mean]stdNEURO_PGI

               chi2(2) =        3.28
           Prob > chi2 =        0.1943

  (1)  [Contact_mean]stdRISK_PGI = [Contribute_mean]stdRISK_PGI 
  (2)  [Contact_mean]stdRISK_PGI = [Rally_mean]stdRISK_PGI

               chi2(2) =       18.15
           Prob > chi2 =        0.0001

  (1)  [Contact_mean]stdADVENTURE_PGI = [Contribute_mean]stdADVENTURE_PGI 
  (2)  [Contact_mean]stdADVENTURE_PGI = [Rally_mean]stdADVENTURE_PGI

               chi2(2) =       12.79
           Prob > chi2 =        0.0017

  (1)  [Contact_mean]stdMORNING_PGI = [Contribute_mean]stdMORNING_PGI 
  (2)  [Contact_mean]stdMORNING_PGI = [Rally_mean]stdMORNING_PGI

               chi2(2) =        0.67
           Prob > chi2 =        0.7163

  (1)  [Contact_mean]stdSRH_PGI = [Contribute_mean]stdSRH_PGI 
  (2)  [Contact_mean]stdSRH_PGI = [Rally_mean]stdSRH_PGI

               chi2(2) =        3.49
           Prob > chi2 =        0.1746

  (1)  [Contact_mean]stdDEP_PGI = [Contribute_mean]stdDEP_PGI 
  (2)  [Contact_mean]stdDEP_PGI = [Rally_mean]stdDEP_PGI

               chi2(2) =        1.35
           Prob > chi2 =        0.5084

  (1)  [Contact_mean]stdSWB_PGI = [Contribute_mean]stdSWB_PGI 
  (2)  [Contact_mean]stdSWB_PGI = [Rally_mean]stdSWB_PGI

               chi2(2) =        2.30
           Prob > chi2 =        0.3167

  (1)  [Contact_mean]stdACTIVITY_PGI = [Contribute_mean]stdACTIVITY_PGI 
  (2)  [Contact_mean]stdACTIVITY_PGI = [Rally_mean]stdACTIVITY_PGI

               chi2(2) =        5.72
           Prob > chi2 =        0.0573

. 
. 
. 
. ***************************************************************
. ***Separate baseline models for each subsample - Tables A6-9***
. ***************************************************************
. 
. ***Baseline results
. quietly {
SUM STATS FOR PolPart

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     PolPart |     14,389     .069706    .1765393          0          1


BETWEEN-FAMILY EFFECT OF stdEA_PGI

 ( 1)  stdEA_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0155089   .0015383    10.08   0.000     .0124935    .0185243
------------------------------------------------------------------------------

Incremental R2 = .00760072


BETWEEN-FAMILY EFFECT OF stdCP_PGI

 ( 1)  stdCP_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0091077   .0014603     6.24   0.000     .0062453    .0119701
------------------------------------------------------------------------------

Incremental R2 = .00264876


BETWEEN-FAMILY EFFECT OF stdEXTRA_PGI

 ( 1)  stdEXTRA_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |    .005238   .0015185     3.45   0.001     .0022614    .0082145
------------------------------------------------------------------------------

Incremental R2 = .00086844


BETWEEN-FAMILY EFFECT OF stdNEURO_PGI

 ( 1)  stdNEURO_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0003217    .001496    -0.22   0.830    -.0032541    .0026107
------------------------------------------------------------------------------

Incremental R2 = 3.275e-06


BETWEEN-FAMILY EFFECT OF stdRISK_PGI

 ( 1)  stdRISK_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0087472    .001478     5.92   0.000       .00585    .0116444
------------------------------------------------------------------------------

Incremental R2 = .0024426


BETWEEN-FAMILY EFFECT OF stdADVENTURE_PGI

 ( 1)  stdADVENTURE_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0057014   .0014455     3.94   0.000     .0028679    .0085349
------------------------------------------------------------------------------

Incremental R2 = .00103166


BETWEEN-FAMILY EFFECT OF stdMORNING_PGI

 ( 1)  stdMORNING_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0029722   .0015313    -1.94   0.052    -.0059738    .0000293
------------------------------------------------------------------------------

Incremental R2 = .00028189


BETWEEN-FAMILY EFFECT OF stdSRH_PGI

 ( 1)  stdSRH_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0010465   .0015099     0.69   0.488    -.0019133    .0040062
------------------------------------------------------------------------------

Incremental R2 = .0000352


BETWEEN-FAMILY EFFECT OF stdDEP_PGI

 ( 1)  stdDEP_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0015578   .0015367     1.01   0.311    -.0014544    .0045701
------------------------------------------------------------------------------

Incremental R2 = .00007728


BETWEEN-FAMILY EFFECT OF stdSWB_PGI

 ( 1)  stdSWB_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |  -.0009066    .001484    -0.61   0.541    -.0038155    .0020023
------------------------------------------------------------------------------

Incremental R2 = .00002611


BETWEEN-FAMILY EFFECT OF stdACTIVITY_PGI

 ( 1)  stdACTIVITY_PGI = 0

------------------------------------------------------------------------------
     PolPart |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         (1) |   .0026395   .0014992     1.76   0.078    -.0002992    .0055782
------------------------------------------------------------------------------

Incremental R2 = .00022221

. 
. 
. *************************************
. **BENJAMINI-HOCHBERG - Tables A6-9***
. *************************************
. foreach name in Turnout1 Turnout2 PolPart { //STR
  2. *foreach name in Turnout1 Turnout2 { //WLS
. *foreach name in Turnout1 Turnout2 TurnoutSelf { //MTFS
. *foreach name in TurnoutSelf PolPart { //AH
. preserve
  3. drop if `name'==.
  4. drop if PC1==.
  5. tempfile `name'
  6. save ``name''
  7. restore
  8. }
(11,752 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_00001k.tmp saved
(11,432 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_00001m.tmp saved
(51,394 observations deleted)
(0 observations deleted)
file C:\Users\sven\AppData\Local\Temp\9\ST_7b4c_00001o.tmp saved

. 
. 
. *local DV = "Turnout1"
. *local DV = "Turnout2"
. *local DV = "TurnoutSelf"
. local DV = "PolPart"

. 
. 
. use ``DV'', clear

. 
. *BETWEEN-FAMILY - SEPARATE MODELS
. local j = 1

. gen p = .
(14,389 missing values generated)

. gen name = ""
(14,389 missing values generated)

. 
. foreach name in CP EXTRA NEURO RISK ADVENTURE MORNING SRH DEP SWB ACTIVITY {
  2. qui: reg `DV' std`name'_PGI c.MALE##i.Byear PC1-PC10 i.samplenum, cluster(PairID)
  3. matrix a = r(table)
  4. replace p = a[4,1] in `j'
  5. replace name = "`name'" in `j'
  6. local j = `j' + 1
  7. }
(1 real change made)
variable name was str1 now str2
(1 real change made)
(1 real change made)
variable name was str2 now str5
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
variable name was str5 now str9
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)

. 
. preserve

. keep p name

. keep in 1/10
(14,379 observations deleted)

. sort p

. gen i = _n

. gen q90 = 0.10*i/10

. gen q90diff = q90 - p

. gen q95 = 0.05*i/10

. gen q95diff = q95 - p

. gen q99 = 0.01*i/10

. gen q99diff = q99 - p

. noisily display as text ""


. noisily display as text ""


. noisily display as text "BETWEEN-FAMILY, SEPARATE MODELS (`DV')"
BETWEEN-FAMILY, SEPARATE MODELS (PolPart)

. list name p q*diff

     +----------------------------------------------------------+
     |      name          p     q90diff     q95diff     q99diff |
     |----------------------------------------------------------|
  1. |        CP   4.62e-10         .01        .005        .001 |
  2. |      RISK   3.35e-09         .02         .01        .002 |
  3. | ADVENTURE   .0000806    .0299194    .0149194    .0029194 |
  4. |     EXTRA   .0005638    .0394362    .0194362    .0034362 |
  5. |   MORNING   .0522815   -.0022815   -.0272815   -.0472815 |
     |----------------------------------------------------------|
  6. |  ACTIVITY   .0783306   -.0183306   -.0483306   -.0723306 |
  7. |       DEP   .3107228   -.2407228   -.2757228   -.3037228 |
  8. |       SRH   .4882867   -.4082868   -.4482867   -.4802867 |
  9. |       SWB   .5412567   -.4512567   -.4962567   -.5322567 |
 10. |     NEURO   .8297378   -.7297378   -.7797378   -.8197378 |
     +----------------------------------------------------------+

. restore

. 
. drop p name

. 
. 
. 
. ******************************************************************************
. ***TEST FOR SIGNIFICANT CROSS-SAMPLE HETEROGENOUS PGI EFFECTS - Tables A6-9***
. ******************************************************************************
. clear all

. 
. use "E:\ProjData\PGS and politics/STRdata.dta", clear

. *use "E:\ProjData\PGS and politics/WLSdata.dta", clear
. *use "E:\ProjData\PGS and politics/MTFSdata.dta"
. *use "E:\ProjData\PGS and politics/AHdata.dta"
. append using "E:\ProjData\PGS and politics/WLSdata.dta"
(note: variable PairID was float, now double to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/MTFSdata.dta"
(note: variable Byear was float, now double to accommodate using data's values)
(note: variable MALE was float, now double to accommodate using data's values)
(note: variable sample was str3, now str4 to accommodate using data's values)

. append using "E:\ProjData\PGS and politics/AHdata.dta"
(note: variable SchoolID was float, now double to accommodate using data's values)
(note: variable Ideology was float, now double to accommodate using data's values)
(note: variable Contact was float, now double to accommodate using data's values)

. 
. gen samplenum = .
(65,783 missing values generated)

. replace samplenum = 1 if sample=="STR"
(43,669 real changes made)

. replace samplenum = 2 if sample=="wls"
(8,937 real changes made)

. replace samplenum = 3 if sample=="mtfs"
(7,525 real changes made)

. replace samplenum = 4 if sample=="ah"
(5,652 real changes made)

. 
. replace Byear = Byear+1900 if sample=="mtfs"
(7,523 real changes made)

. 
. rename EduYears EA

. 
. ***Baseline results
. quietly {
SUM STATS FOR Turnout1

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    Turnout1 |     54,031    .9200996    .2218234          0          1


BETWEEN-FAMILY EFFECT OF stdEA_PGI

 ( 1)  2.samplenum#c.stdEA_PGI = 0
 ( 2)  3.samplenum#c.stdEA_PGI = 0

       F(  2, 33822) =    3.24
            Prob > F =    0.0391


BETWEEN-FAMILY EFFECT OF stdCP_PGI

 ( 1)  2.samplenum#c.stdCP_PGI = 0
 ( 2)  3.samplenum#c.stdCP_PGI = 0

       F(  2, 33822) =    4.05
            Prob > F =    0.0174


BETWEEN-FAMILY EFFECT OF stdEXTRA_PGI

 ( 1)  2.samplenum#c.stdEXTRA_PGI = 0
 ( 2)  3.samplenum#c.stdEXTRA_PGI = 0

       F(  2, 33822) =    0.72
            Prob > F =    0.4883


BETWEEN-FAMILY EFFECT OF stdNEURO_PGI

 ( 1)  2.samplenum#c.stdNEURO_PGI = 0
 ( 2)  3.samplenum#c.stdNEURO_PGI = 0

       F(  2, 33822) =    0.40
            Prob > F =    0.6687


BETWEEN-FAMILY EFFECT OF stdRISK_PGI

 ( 1)  2.samplenum#c.stdRISK_PGI = 0
 ( 2)  3.samplenum#c.stdRISK_PGI = 0

       F(  2, 33822) =    3.47
            Prob > F =    0.0310


BETWEEN-FAMILY EFFECT OF stdADVENTURE_PGI

 ( 1)  2.samplenum#c.stdADVENTURE_PGI = 0
 ( 2)  3.samplenum#c.stdADVENTURE_PGI = 0

       F(  2, 33822) =    0.42
            Prob > F =    0.6538


BETWEEN-FAMILY EFFECT OF stdMORNING_PGI

 ( 1)  2.samplenum#c.stdMORNING_PGI = 0
 ( 2)  3.samplenum#c.stdMORNING_PGI = 0

       F(  2, 33822) =    0.30
            Prob > F =    0.7372


BETWEEN-FAMILY EFFECT OF stdSRH_PGI

 ( 1)  2.samplenum#c.stdSRH_PGI = 0
 ( 2)  3.samplenum#c.stdSRH_PGI = 0

       F(  2, 33822) =    4.01
            Prob > F =    0.0181


BETWEEN-FAMILY EFFECT OF stdDEP_PGI

 ( 1)  2.samplenum#c.stdDEP_PGI = 0
 ( 2)  3.samplenum#c.stdDEP_PGI = 0

       F(  2, 33822) =    1.50
            Prob > F =    0.2226


BETWEEN-FAMILY EFFECT OF stdSWB_PGI

 ( 1)  2.samplenum#c.stdSWB_PGI = 0
 ( 2)  3.samplenum#c.stdSWB_PGI = 0

       F(  2, 33822) =    1.42
            Prob > F =    0.2429


BETWEEN-FAMILY EFFECT OF stdACTIVITY_PGI

 ( 1)  2.samplenum#c.stdACTIVITY_PGI = 0
 ( 2)  3.samplenum#c.stdACTIVITY_PGI = 0

       F(  2, 33822) =    1.30
            Prob > F =    0.2724

. 
. log close
      name:  <unnamed>
       log:  C:\Userdata\Shared\Dofiles\DoAnalysis\PGS and politics\Replication files\MainRe
> sults.log
  log type:  text
 closed on:   9 Jan 2025, 12:29:32
--------------------------------------------------------------------------------------------
